package random.fox.p2p.bean;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * Created by delong on 2015/3/18.
 *
 */
public class UserInfo implements Serializable{
    private String name;
    private HashMap<String , String> ext;  //包含额外信息  年龄 学校 住址等
    private List<PersonalityLabel> personalityLabels;
    private List<Dynamic> dynamics;
    private List<Fans> fansList;

    public UserInfo(String name, HashMap<String, String> ext, List<PersonalityLabel> personalityLables, List<Dynamic> dynamics, List<Fans> fansList) {
        this.name = name;
        this.ext = ext;
        this.personalityLabels = personalityLables;
        this.dynamics = dynamics;
        this.fansList = fansList;
    }

    public List<Fans> getFansList() {
        return fansList;
    }

    public void setFansList(List<Fans> fansList) {
        this.fansList = fansList;
    }

    public List<Dynamic> getDynamics() {
        return dynamics;
    }

    public void setDynamics(List<Dynamic> dynamics) {
        this.dynamics = dynamics;
    }

    public List<PersonalityLabel> getPersonalityLabels() {
        return personalityLabels;
    }

    public void setPersonalityLabels(List<PersonalityLabel> personalityLabels) {
        this.personalityLabels = personalityLabels;
    }

    public HashMap<String, String> getExt() {
        return ext;
    }

    public void setExt(HashMap<String, String> ext) {
        this.ext = ext;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", ext=" + ext +
                ", personalityLabels=" + personalityLabels +
                ", dynamics=" + dynamics +
                ", fansList=" + fansList +
                '}';
    }
}
